#ifndef DKD_CONVERT_H
#define DKD_CONVERT_H

#include <QDialog>
#include <QFile>
#include <QTextCodec>
//#include <QtPlugin>
#include <QFileDialog>
#include "ui_dkd_convert.h"

//Q_IMPORT_PLUGIN(qcncodecs)

class dkd_convert : public QDialog , public Ui::dkd_convert
{
    Q_OBJECT
    
public:
    explicit dkd_convert(QWidget *parent = 0);
    ~dkd_convert();

public slots:
    bool setSrcEdit();
    bool setOkEndable(QString str);
    bool setpath(int x);
    bool findtext(QString text);


    
private:
    Ui::dkd_convert *ui;
    bool setTable(QString file);
    bool tableresize();
    bool makeindex();
    bool hidden(bool i);
    void resizeEvent(QResizeEvent *event);
};

#endif // DKD_CONVERT_H
